package com.wocao.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 级联选择器房屋所属楼栋类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Building {

    private String id;

    private String name;

    /**
     * 楼栋拥有的单元集合
     */
    private List<Unit> units;
}
